const plugins = []
// 生产环境构建时移除console.log
if (process.env.NODE_ENV === 'build') {
  plugins.push('transform-remove-console')
}
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  'env': {
    'development': {
      'plugins': ['dynamic-import-node']
    }
  },
  plugins
}
